package com.gengral.commons.exception;

import java.io.Serializable;

/**
 * @author
 * @version V1.0
 * @description:自定义业务异常类
 * @date 2020/1/19 16:26
 */
public class BusinessException extends RuntimeException implements Serializable {
    /**
     * 异常信息.
     */
    private String msg;

    public BusinessException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
